package io.zhiller.camerademo.ui.screen

import android.app.Activity
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import io.zhiller.camerademo.ui.component.CameraPreviewComp
import io.zhiller.camerademo.utils.CameraUtils

@Composable
fun MainScreen(
  activity: Activity,
) {
  CameraUtils.RequestCameraPermission {
    CameraPreviewComp(activity)
  }
}